package com.lara;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;

public class Manager18 {
public static void main(String[] args) {
	ArrayList list=new ArrayList();
	list.add(9);
	list.add(19);
	list.add(91);
	list.add(29);
	list.add(2);
	list.add(25);
	System.out.println(list);
	Comparator comp=Collections.reverseOrder();
	Collections.sort(list,comp);
	System.out.println(list);
}
}
